Minor signed-ness tweaks to quiesce GCC4 builds.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 17 Jun 2005 13:46:31 +0000 (13:46 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 17 Jun 2005 13:46:31 +0000 (13:46 +0000)
gpsbabel/jeeps/gpsapp.c
gpsbabel/mapsource.c
gpsbabel/uuid.c

index b7ec3b07dc7bdfdf3bc50169db29cddc4dcdc898..4591c82866122d27a9a5b086ed379abe559c2e5c 100644 (file)
@@ -110,8 +110,9 @@ char        gps_save_string[GPS_ARB_LEN];
  * violently to lower case data.
  */
 typedef enum { UpperNo = 0, UpperYes = 1 } copycase;
+
 static 
-void copy_char_array(UC **dst, UC* src, int count, copycase mustupper)
+void copy_char_array(UC **dst, char* src, int count, copycase mustupper)
 {
        UC *d = *dst;
        int ocount =  count;
index 948d760849240d3fcf3a2f04d7e9f4f6956783bb..f637cb0eaf5f15bc13a05914bf1ea1ff205a3bd0 100644 (file)
@@ -413,7 +413,7 @@ mps_fileHeader_r(FILE *mps_file, int *mps_ver)
 static void
 mps_fileHeader_w(FILE *mps_file, int mps_ver)
 {
-       unsigned char hdr[100];
+       char hdr[100];
        int reclen;
 
        strcpy (hdr, "MsRc");
index 97b6314762eb0264ab3c3cf59c4824c8b04aafd1..f7e568ca38712e4f50dff42f3f90e9d30e038940 100755 (executable)
@@ -23,7 +23,7 @@
 void
 uuid_generate(uuid_t uu)
 {
-       char *cp;
+       unsigned char *cp;
        int i;
        for (cp = uu, i = 0; i < 16; i++) {
                if (getenv("GPSBABEL_FREEZE_TIME")) {